#include "VLanguageUi.h"
#include "VLanguageEffect.h"

VLanguageUi::VLanguageUi(void)
{
    _item = new VLanguageEffect;

    insert(_item);
}

VLanguageUi::~VLanguageUi(void)
{
    SAFE_RELEASE(_item);
}

void VLanguageUi::scrollLeft()
{
    _item->scroll(LANGUAGE_SCROLLLEFT);
}

void VLanguageUi::scrollRight()
{
    _item->scroll(LANGUAGE_SCROLLRIGHT);
}